package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import com.atguigu.gulimall.product.vo.auto.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author lemon
 * @email 2313812755@qq.com
 * @date 2022-11-19 23:00:38
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    // 保存spu基本信息  pms_spu_info
    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);


    // 复杂的条件查询
    PageUtils queryPageByCondition(Map<String, Object> params);

    // 商品上架
    void spuUp(Long spuId);
}

